package com.cctv.haierstore.product.feign;

import com.cctv.common.to.es.SkuEsModel;
import com.cctv.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

/**
 * @author huayi
 * @date 2023年11月26日 23:48
 */
@FeignClient("haierstore-search")
public interface SearchFeignService {
    @PostMapping("/search/save/product")
    public R productStatusUp(@RequestBody List<SkuEsModel> skuEsModels);

}
